package com.cjl.learn;

import com.cjl.learn.bean.Bird;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.event.ApplicationStartingEvent;
import org.springframework.context.ApplicationEvent;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class PostProcessorApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext applicationContext = SpringApplication.run(PostProcessorApplication.class, args);

        Bird bean = applicationContext.getBean(Bird.class);
        System.out.println(bean);
    }
}
